package net.caixiaomi.info.widgets;

import android.support.annotation.NonNull;
import android.view.View;

import net.caixiaomi.info.base.BaseBottomDialogFragment;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 开启指纹支付对话框
 */

public class FingerPayOpenDialogFragment extends BaseBottomDialogFragment {
    public static final String TAG = "FingerPayOpenDialogFragment";
    @BindView(net.caixiaomi.info.R.id.finger_scan)
    FingerPrinterScanView mScanView;

    @OnClick({net.caixiaomi.info.R.id.btn_close, net.caixiaomi.info.R.id.btn_not_open})
    void toClose() {
        dismiss();
    }

    @OnClick(net.caixiaomi.info.R.id.btn_open)
    void toOpen() {

    }

    @Override
    protected int layoutRes() {
        return net.caixiaomi.info.R.layout.dialog_open_finger_pay;
    }

    @Override
    protected void onViewCreated(@NonNull View view) {
        mScanView.startScaning();
    }




}
